package com.ambulance.project.biz.service.impl;

import com.ambulance.project.biz.dto.admin.ClassResourceDto;
import com.ambulance.project.biz.entity.Dispatch;
import com.ambulance.project.biz.mapper.DispatchMapper;
import com.ambulance.project.biz.mapper.MyCustomerMapper;
import com.ambulance.project.biz.service.DispatchService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 调度记录表 服务实现类
 * </p>
 *
 * @author zr
 * @since 2020-04-17
 */
@Service
public class DispatchServiceImpl extends ServiceImpl<DispatchMapper, Dispatch> implements DispatchService {


    @Autowired
    private MyCustomerMapper myCustomerMapper;

    @Override
    public ClassResourceDto infoClassResourceDto(Integer classID) {
        return myCustomerMapper.infoClassResourceDto(classID);
    }
}
